package com.king.java.tools.ssh;

/**
 * 描述: 远程主机的基本信息
 *
 * @author : sujinchen
 * @date : 2020/10/21
 */
public class RemoteInfo {
    /**
     * 用户名
     */
    private String user = "droid";
    /**
     * 主机名
     */
    private String host = "192.168.102.170";
    /**
     * 端口号
     */
    private int port = 22;
    /**
     * 密码
     */
    private String password = "1";
    /**
     * 身份认证
     */
    private String identity = "~/.ssh/id_rsa";
    /**
     * 通行密码
     */
    private String passphrase = "";


    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getPassphrase() {
        return passphrase;
    }

    public void setPassphrase(String passphrase) {
        this.passphrase = passphrase;
    }
}
